﻿<?xml version="1.0" encoding="utf-8" ?>
<ArrayOfSolutionConfigurationDataTypeTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolutionGenerator">
  <SolutionConfigurationDataTypeTemplate>
    <DataType>Boolean</DataType>
    <DefaultValueMap xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>((0))</d3p1:Key>
        <d3p1:Value>false</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>((1))</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </DefaultValueMap>
    <TemplateIsRequired xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <TemplateReplace xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>0</d3p1:Key>
        <d3p1:Value>&lt;asp:CheckBox ID="{TableName}{ColumnName}Input" runat="server" Checked="{DefaultValue}" /&gt;</d3p1:Value>
      </d3p1:KeyValueOfintstring>
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>1</d3p1:Key>
        <d3p1:Value>&lt;asp:CheckBox ID="{TableName}{ColumnName}Display" runat="server" Enabled="false" /&gt;</d3p1:Value>
      </d3p1:KeyValueOfintstring>
    </TemplateReplace>
  </SolutionConfigurationDataTypeTemplate>
  <SolutionConfigurationDataTypeTemplate>
    <DataType>VarChar</DataType>
    <DefaultValueMap xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <TemplateIsRequired xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>0</d3p1:Key>
        <d3p1:Value>&lt;asp:RequiredFieldValidator ID="{TableName}{ColumnName}RequiredValidator" runat="server" ErrorMessage="This field is required" ControlToValidate="{TableName}{ColumnName}Input"&gt;&lt;/asp:RequiredFieldValidator&gt;</d3p1:Value>
      </d3p1:KeyValueOfintstring>
    </TemplateIsRequired>
    <TemplateReplace xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>0</d3p1:Key>
        <d3p1:Value>&lt;asp:TextBox ID="{TableName}{ColumnName}Input" runat="server" MaxLength="{ColumnLength}"&gt;&lt;/asp:TextBox&gt;
      {IsRequired:0}</d3p1:Value>
      </d3p1:KeyValueOfintstring>
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>1</d3p1:Key>
        <d3p1:Value>&lt;asp:Label ID="{TableName}{ColumnName}Display" runat="server" Text=""&gt;&lt;/asp:Label&gt;</d3p1:Value>
      </d3p1:KeyValueOfintstring>
    </TemplateReplace>
  </SolutionConfigurationDataTypeTemplate>
  <SolutionConfigurationDataTypeTemplate>
    <DataType>Char</DataType>
    <DefaultValueMap xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <TemplateIsRequired xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>0</d3p1:Key>
        <d3p1:Value>&lt;asp:RequiredFieldValidator ID="{TableName}{ColumnName}RequiredValidator" runat="server" ErrorMessage="This field is required" ControlToValidate="{TableName}{ColumnName}Input"&gt;&lt;/asp:RequiredFieldValidator&gt;</d3p1:Value>
      </d3p1:KeyValueOfintstring>
    </TemplateIsRequired>
    <TemplateReplace xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>0</d3p1:Key>
        <d3p1:Value>&lt;asp:TextBox ID="{TableName}{ColumnName}Input" runat="server" MaxLength="{ColumnLength}"&gt;&lt;/asp:TextBox&gt;
      {IsRequired:0}</d3p1:Value>
      </d3p1:KeyValueOfintstring>
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>1</d3p1:Key>
        <d3p1:Value>&lt;asp:Label ID="{TableName}{ColumnName}Display" runat="server" Text=""&gt;&lt;/asp:Label&gt;</d3p1:Value>
      </d3p1:KeyValueOfintstring>
    </TemplateReplace>
  </SolutionConfigurationDataTypeTemplate>
  <SolutionConfigurationDataTypeTemplate>
    <DataType>Integer</DataType>
    <DefaultValueMap xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <TemplateIsRequired xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>0</d3p1:Key>
        <d3p1:Value>&lt;asp:RequiredFieldValidator ID="{TableName}{ColumnName}RequiredValidator" runat="server" ErrorMessage="This field is required" ControlToValidate="{TableName}{ColumnName}Input"&gt;&lt;/asp:RequiredFieldValidator&gt;</d3p1:Value>
      </d3p1:KeyValueOfintstring>
    </TemplateIsRequired>
    <TemplateReplace xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>0</d3p1:Key>
        <d3p1:Value>&lt;asp:TextBox ID="{TableName}{ColumnName}Input" runat="server"&gt;&lt;/asp:TextBox&gt;{IsRequired:0}</d3p1:Value>
      </d3p1:KeyValueOfintstring>
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>1</d3p1:Key>
        <d3p1:Value>&lt;asp:Label ID="{TableName}{ColumnName}Display" runat="server" Text=""&gt;&lt;/asp:Label&gt;</d3p1:Value>
      </d3p1:KeyValueOfintstring>
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>2</d3p1:Key>
        <d3p1:Value>&lt;asp:DropDownList ID="{ForeignKeyParentTableName}{ForeignKeyParentColumnName}Input" runat="server"&gt;&lt;/asp:DropDownList&gt;</d3p1:Value>
      </d3p1:KeyValueOfintstring>
    </TemplateReplace>
  </SolutionConfigurationDataTypeTemplate>
  <SolutionConfigurationDataTypeTemplate>
    <DataType>DBDate</DataType>
    <DefaultValueMap xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <TemplateIsRequired xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>0</d3p1:Key>
        <d3p1:Value>&lt;asp:RequiredFieldValidator ID="{TableName}{ColumnName}RequiredValidator" runat="server" ErrorMessage="This field is required" ControlToValidate="{TableName}{ColumnName}Input"&gt;&lt;/asp:RequiredFieldValidator&gt;</d3p1:Value>
      </d3p1:KeyValueOfintstring>
    </TemplateIsRequired>
    <TemplateReplace xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>0</d3p1:Key>
        <d3p1:Value>
          &lt;asp:TextBox ID="{TableName}{ColumnName}Input" runat="server"&gt;&lt;/asp:TextBox&gt;
          {IsRequired:0}
        </d3p1:Value>
      </d3p1:KeyValueOfintstring>
      <d3p1:KeyValueOfintstring>
        <d3p1:Key>1</d3p1:Key>
        <d3p1:Value>&lt;asp:Label ID="{TableName}{ColumnName}Display" runat="server" Text=""&gt;&lt;/asp:Label&gt;</d3p1:Value>
      </d3p1:KeyValueOfintstring>
    </TemplateReplace>
  </SolutionConfigurationDataTypeTemplate>
</ArrayOfSolutionConfigurationDataTypeTemplate>